﻿using System.Reflection;
using JetBrains.Annotations;

namespace MugenMvvmToolkit.Interfaces
{
    /// <summary>
    ///     Represents interface that provide display name of object.
    /// </summary>
    public interface IDisplayNameProvider
    {
        /// <summary>
        ///     Gets a display name for the specified type using the specified member.
        /// </summary>
        /// <param name="memberInfo">The specified member.</param>
        /// <returns>
        ///     An instance of string.
        /// </returns>
        [Pure]
        string GetDisplayName([NotNull]MemberInfo memberInfo);
    }
}